<script>
	import store from "./store";
	
	export default {
		onLaunch: function() {
			let appid = 'wxf97be1b6ba1b0032';
			let pid = '001';
			let appname = '兔叽叽剧场';
			uni.setStorageSync('呱呱呱',{
				a:'10086',
				key:1
			})
			store.commit('UPDATE_APPID',appid)
			
			// 存储设备型号
			uni.getSystemInfo({
				success: (res) => {
					console.log('res.osName',res.osName)
					store.commit('UPDATE_OSNAME',res.osName)
				}
			});
			
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
